package com.blog.vo;

import org.hibernate.validator.constraints.NotEmpty;

public class ArticleVo {

	@NotEmpty(message = "名字不能为空")
	private String title;

	private String typeId;

	private String info;

	@NotEmpty(message = "内容不能为空")
	private String text;
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}


	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}


}
